home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presentation Library 1993 Winter / The Apple Reference & Presentations Library CD Winter 93 - Partner Edition.7z / Image.iso / Applications / Technical Publishing / Aldus PageMaker 4.2 / Aldus / APDs / HP LaserJet III.apd < prev    next >
Text File  |  1991-04-15  |  11KB  |  276 lines

  1. @Comment: HP PostScript Cartridge for Hewlett-Packard LaserJet family of printers.
  2. @Comment: Aldus Printer Description (APD) file 
  3. @Comment:     $Revision:   1.0  $
  4. @Comment:     $Date:   15 April 1991 15:07:23  $
  5. @Comment: This APD produced for use with Aldus PageMaker 2.0, 2.0a, 3.0, and 4.0
  6. @Comment: Keyword values are currently limited to 255 characters in length.
  7.  
  8. @FormatVersion: "1.0"
  9. @Product: "(HP LaserJet III)"
  10. @PSVersion: "(52.2)"
  11. @PSRevision: "0"
  12.  
  13. @Resolution: "300 300"
  14.  
  15. @AllowComments: "true"
  16. @AllowVMQuery: "true"
  17.  
  18. @Comment:  "FreeVM" value is equivalent to vmstatus "maximum" minus "used" values
  19. @Comment: Limit VM when printing to file,to not exceed save-level limit for downloaded fonts:
  20. @FreeVM: "1275084"
  21. @WorkingMem: "25000"
  22. @AldusHeaderMem: "34000"
  23. @Comment: Example of declaration of a downloadable font's memory requirement:
  24. @Comment: @FontMem "Benjo-Light": "82600"
  25.  
  26. @Comment: If 11 or more saves, VM query makes memory look full, PM will flush fonts.
  27. @?VMStatus: "vmstatus 3 -1 roll dup 10 gt
  28. {3 1 roll exch pop dup} {3 1 roll} ifelse == == == flush"
  29. @End
  30.  
  31. @Comment: PatchFile is sent right after %%EndComments, AldusPatchFile right before %%EndSetup.
  32. @PatchFile: "userdict /AldusDict known {(A previous version PageMaker header is loaded.) = flush} if"
  33. @AldusPatchFile: ""
  34. @ExitServer: "serverdict begin exitserver "
  35. @Password: "0"
  36.  
  37. @DefaultScreenFreq: "60"
  38. @DefaultScreenAngle: "45"
  39. @DefaultScreenProc: "{abs exch abs 2 copy add 1 gt
  40. {1 sub dup mul exch 1 sub dup mul add 1 sub}
  41. {dup mul exch dup mul add 1 exch sub} ifelse}"
  42. @End
  43.  
  44. @ScreenFreq: ""
  45. @ScreenAngle: ""
  46. @ScreenProc: ""
  47.  
  48. @InvertScreenProc: "{dup mul exch dup mul add 1 sub}"
  49. @Transfer: ""
  50. @InvertTransfer: "{1 exch sub}"
  51.  
  52. @Comment: EW modifications April 15 1991
  53. @NormalizedTransfer: "{
  54. mark
  55. 1.0 1.0 .98 .86 .76 .64 .54 .45 .36 .24 .11 .0
  56. counttomark dup 3 add -1 roll exch
  57. 2 sub mul dup floor cvi
  58. dup 3 1 roll sub
  59. exch dup 
  60. 3 add index exch 2 add index dup
  61. 4 1 roll
  62. sub mul add
  63. counttomark 1 add 1 roll 
  64. cleartomark
  65. } bind"
  66. @End
  67.  
  68. @InvertNormalizedTransfer: "{
  69. mark
  70. .0 .0 .11 .24 .36 .45 .54 .64 .76 .86 .98 1.0
  71. counttomark dup 3 add -1 roll exch
  72. 2 sub mul dup floor cvi
  73. dup 3 1 roll sub
  74. exch dup 
  75. 3 add index exch 2 add index dup
  76. 4 1 roll
  77. sub mul add
  78. counttomark 1 add 1 roll 
  79. cleartomark
  80. } bind"
  81. @End
  82.  
  83. @Comment: PageSize options appear in the "Paper" list box in the Printer-specific dialog.
  84. @DefaultPageSize:        "Letter"
  85. @PageSize Letter:        "letter"
  86. @PageSize Legal:            "legal"
  87. @PageSize Executive:         "executivepage"
  88. @PageSize A4:            "a4"
  89. @PageSize Com10Env:        "com10envelope"
  90. @PageSize MonarchEnv:    "monarcenvelope"
  91. @PageSize C5Env:        "c5envelope"
  92. @PageSize DLEnv:        "dlenvelope"
  93.  
  94. @PaperTray Letter:         "statusdict begin lettertray end"
  95. @PaperTray Legal:        "statusdict begin legaltray end"
  96. @PaperTray Executive:     "statusdict begin executivetray end"
  97. @PaperTray A4:            "statusdict begin a4tray end"
  98. @PaperTray Com10Env:    "statusdict begin com10envelopetray end"
  99. @PaperTray MonarchEnv:    "statusdict begin monarcenvelopetray end"
  100. @PaperTray C5Env:        "statusdict begin c5envelopetray end"
  101. @PaperTray DLEnv:        "statusdict begin dlenvelopetray end"
  102.  
  103. @Comment: Paper tray query retrieves the current paper number
  104. @Comment:    and converts it to the equivalent string.
  105. @?PaperTray: "save mark (C5Env) (DLEnv) (MonarchEnv) (Com10Env)
  106.     () () () (B5) (A4) (Executive) (Legal) (Letter)
  107.     12 statusdict /papertype get exec roll
  108.     = flush cleartomark restore"
  109. @End
  110.  
  111. @Comment: PageRegion gives the printable area of each paper option.
  112. @PageRegion Letter:         "18 19 593 774"
  113. @PageRegion Legal:         "18 19 593 990"
  114. @PageRegion Executive:    "18 19 501 738"
  115. @PageRegion A4:         "18 19 578 824"
  116. @PageRegion Com10Env:    "18 19 278 666"
  117. @PageRegion MonarchEnv:    "18 19 259 522"
  118. @PageRegion C5Env:        "18 19 440 630"
  119. @PageRegion DLEnv:        "18 19 294 605"
  120.  
  121. @Comment: PaperDimension gives the total paper size of each option.
  122. @PaperDimension Letter:     "612 792"
  123. @PaperDimension Legal:         "612 1008"
  124. @PaperDimension Executive:    "522 756"
  125. @PaperDimension A4:         "595 842"
  126. @PaperDimension Com10Env:    "297 684"
  127. @PaperDimension MonarchEnv:    "279 540"
  128. @PaperDimension C5Env:         "459 649"
  129. @PaperDimension DLEnv:        "312 624"
  130.  
  131. @?OutputOrder: "pagestackorder {(facedown)}{(faceup)} ifelse = flush"
  132. @DefaultOutputOrder: "facedown"
  133.  
  134. @ManualFeed true:    "statusdict begin /manualfeed true def end"
  135. @ManualFeed false:    "statusdict begin /manualfeed false def end"
  136.  
  137. @?FontList: "save FontDirectory { pop = flush } forall (*) = flush restore"
  138. @?FontQuery: "FontDirectory exch known {1}{0} ifelse = flush"
  139.  
  140. @DefaultFont: "Courier"
  141. @Font "Times-Roman": "Standard" "(001.002)"
  142. @Font "Times-Bold": "Standard" "(001.002)"
  143. @Font "Times-Italic": "Standard" "(001.002)"
  144. @Font "Times-BoldItalic": "Standard" "(001.004)"
  145. @Font "Helvetica": "Standard" "(001.002)"
  146. @Font "Helvetica-Bold": "Standard" "(001.002)"
  147. @Font "Helvetica-Oblique": "Standard" "(001.002)"
  148. @Font "Helvetica-BoldOblique": "Standard" "(001.002)"
  149. @Font "Courier": "Standard" "(002.002)"
  150. @Font "Courier-Bold": "Standard" "(002.002)"
  151. @Font "Courier-Oblique": "Standard" "(002.002)"
  152. @Font "Courier-BoldOblique": "Standard" "(002.002)"
  153. @Font "Symbol": "Special" "(001.003)"
  154. @Font "Palatino-Roman": "Standard" "(001.001)"
  155. @Font "Palatino-Italic": "Standard" "(001.002)"
  156. @Font "Palatino-Bold": "Standard" "(001.002)"
  157. @Font "Palatino-BoldItalic": "Standard" "(001.002)"
  158. @Font "AvantGarde-Book": "Standard" "(001.002)"
  159. @Font "AvantGarde-BookOblique": "Standard" "(001.002)"
  160. @Font "AvantGarde-Demi": "Standard" "(001.003)"
  161. @Font "AvantGarde-DemiOblique": "Standard" "(001.003)"
  162. @Font "Bookman-Light": "Standard" "(001.001)"
  163. @Font "Bookman-LightItalic": "Standard" "(001.001)"
  164. @Font "Bookman-Demi": "Standard" "(001.001)"
  165. @Font "Bookman-DemiItalic": "Standard" "(001.001)"
  166. @Font "Helvetica-Narrow": "Standard" "(001.002)"
  167. @Font "Helvetica-Narrow-Oblique": "Standard" "(001.002)"
  168. @Font "Helvetica-Narrow-Bold": "Standard" "(001.002)"
  169. @Font "Helvetica-Narrow-BoldOblique": "Standard" "(001.002)"
  170. @Font "NewCenturySchlbk-Roman": "Standard" "(001.004)"
  171. @Font "NewCenturySchlbk-Italic": "Standard" "(001.003)"
  172. @Font "NewCenturySchlbk-Bold": "Standard" "(001.006)"
  173. @Font "NewCenturySchlbk-BoldItalic": "Standard" "(001.004)"
  174. @Font "ZapfChancery-MediumItalic": "Standard" "(001.003)"
  175. @Font "ZapfDingbats": "Special" "(001.002)"
  176.  
  177.  
  178. @Comment: The order of occurrence determines the order of parsing; put general messages last.
  179. @Comment: PrinterWarning beeps and displays the translation string in the status line.
  180.  
  181. @PrinterWarning    "%%[ PrinterError: paper \where\ misfeed\lost\ ]%%"
  182.                 : "Printer “^2” needs attention: paper jam."
  183. @PrinterWarning    "%%[ PrinterError: \Reason\ ]%%"
  184.                 : "Printer “^2” needs attention: \Reason\."
  185.  
  186. @PrinterWarning    "\s\status: PrinterError: paper \where\ misfeed\lost\"
  187.                 : "Printer “^2” needs attention: paper jam."
  188. @PrinterWarning    "\s\status: PrinterError: \Reason\; source: \source\"
  189.                 : "Printer “^2” needs attention: \Reason\."
  190.  
  191. @ParameterReason    "no paper tray" :         "no paper tray"
  192. @ParameterReason    "out of paper" :         "out of paper"
  193. @ParameterReason    "cover open" :             "cover open"
  194. @ParameterReason    "warming up" :             "warming up"
  195. @ParameterReason    "service call" :         "service call"
  196. @ParameterReason    "resetting printer" :     "resetting printer"
  197. @ParameterReason    "cover open" :             "cover open"
  198. @ParameterReason    "timeout, clearing printer" : "timeout"
  199. @ParameterReason    "timeout" :             "timeout"
  200. @ParameterReason    "manual feed timeout" :    "manual feed timeout"
  201. @ParameterReason    "no toner cartridge" :     "no toner cartridge"
  202.  
  203.  
  204. @Comment: PrinterMessage displays the translation string in the status line.
  205. @PrinterMessage     "job: \username\; document: \jobname\; status: \Status\; source: 
  206. \source\"
  207.                 : "User: \username\;  document: \jobname\;  status: \Status\."
  208. @PrinterMessage     "job: \jobname\; status: \Status\; source: \source\"
  209.                 : "Document: \jobname\;  status: \Status\."
  210. @PrinterMessage     "status: \Status\; source: \source\"
  211.                 : "Status: \Status\."
  212. @PrinterMessage     "\Font1\ not found, using \Font2\"
  213.                 : "Font \Font1\ is not found on ^2, substituting \Font2\"
  214.  
  215. @ParameterStatus     "idle"    : "idle"
  216. @ParameterStatus     "busy"    : "processing job"
  217. @ParameterStatus     "waiting"    : "preparing data"
  218. @ParameterStatus    "printing"    : "printing"
  219.  
  220. @Comment: a null translation string causes no message to display.
  221. @PrinterMessage    "%%[ exitserver: permanent state may be changed ]%%"
  222.                 : ""
  223. @PrinterMessage    "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  224.                 : ""
  225.  
  226. @Comment: Parameter substitution of printer name for "^2" is not allowed in "...Alert" messages!
  227. @Comment: PrinterWarningAlert displays translation string in a warning-alert box and continues.
  228. @PrinterWarningAlert "A previous version PageMaker header is loaded."
  229.     : "Printer performance may improve if you do not print with previous PageMaker versions on this network."
  230.  
  231. @ParameterPapertray    "letter":    "Letter"
  232. @ParameterPapertray    "legal":    "Legal"
  233. @ParameterPapertray    "executive":    "Executive"
  234. @ParameterPapertray    "a4":         "A4"
  235.  
  236. @ParameterEnvtray    "com10":    "Com-10"
  237. @ParameterEnvtray    "monarc":    "Monarch"
  238. @ParameterEnvtray    "c5":        "C5"
  239. @ParameterEnvtray    "dl":        "DL"
  240.  
  241. @ParameterUndeftray    "letter":    "Letter paper"
  242. @ParameterUndeftray    "legal":    "Legal paper"
  243. @ParameterUndeftray    "executive":    "Executive paper"
  244. @ParameterUndeftray    "a4":         "A4 paper"
  245. @ParameterUndeftray    "com10envelope":    "Com-10 envelopes"
  246. @ParameterUndeftray    "monarcenvelope":    "Monarch envelopes"
  247. @ParameterUndeftray    "c5envelope":    "C5 envelopes"
  248. @ParameterUndeftray    "dlenvelope":    "DL envelopes"
  249.  
  250. @Comment: PrinterErrorAlert displays translation string in a stop-alert box and aborts printing.
  251.  
  252. @PrinterErrorAlert    "%%[ Error: rangecheck; OffendingCommand: \Envtray\envelopetray ]%%"
  253.                 : "Please place the Envelope tray in your printer, and print again."
  254.  
  255. @PrinterErrorAlert    "%%[ Error: rangecheck; OffendingCommand: \Papertray\tray ]%%"
  256.                 : "Please place the \Papertray\ paper tray in your printer, and print again."
  257.  
  258. @PrinterErrorAlert    "%%[ Error: undefined; OffendingCommand: \Undeftray\tray ]%%"
  259.                 : "This printer does not support \Undeftray\, please print again and select a different printer or paper size from the print dialog."
  260.  
  261. @PrinterErrorAlert    "%%[ Error: \fonterror\; OffendingCommand: fontdownload ]%%"
  262.                 : "The font being downloaded has not been initialized for this printer."
  263.  
  264. @PrinterErrorAlert    "%%[ Error: VMerror; OffendingCommand: \operator\ ]%%"
  265.                 : "Printer memory exceeded; turn printer off and on, or print smaller sections of the document."
  266.  
  267. @PrinterErrorAlert    "%%[ Error: timeout; OffendingCommand: \operator\ ]%%"
  268.                 : "The printer had to wait too long, and went on to the next job; try again."
  269.  
  270. @PrinterErrorAlert    "%%[ Error: \error\; OffendingCommand: \operator\ ]%%"
  271.                 : "Cannot print due to PostScript error: “\error\,” in command: “\operator\.”"
  272.  
  273. @PrinterErrorAlert    "Fatal system error \error\"
  274.                 : "The printer has encountered an error. Simplify your document or try again."
  275.  
  276.